// export const delayCall = (s: number, callFunc: Function) => {
//     setTimeout(callFunc, s);
// };

export const delay = (seconds: number) => {
    return new Promise((resolve, reject) => {
        setTimeout(resolve, seconds * 1000);
    });
};
